package org.example.mall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableAsync
@MapperScan("org.example.mall.Mapper")//告知启动类dao层接口的位置，使mapper自动装配为bean对象，实现Mybatis的整合
public class MallApplication {
    //已实现项目热部署。修改后点击构建-构建项目即可应用最新更改
    public static void main(String[] args) {
        SpringApplication.run(MallApplication.class, args);
    }

}
